﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace WebApp.Controls
{
    public partial class Lan_SearchBar : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void btnSerach_Click(object sender, EventArgs e)
        {
            //string brand,price,type,style
            Response.Redirect(String.Format("~/Product/AdvanceSearch.aspx?brand={0}", this.TextBox2.Text));
        }

        protected void btnAdvanceSearch_Click(object sender, EventArgs e)
        {
            Response.Redirect("~/Product/AdvanceSearch.aspx");
        }
    }
}